CRPEMouseClickEventInfo

The CRPEMouseClickEventInfo structure contains information related to mouse click events.

Data Members

Each data member is set by the corresponding constructor parameter.

Member Type Default Description

m_windowHandle

long

0

windowHandle.

m_clickAction

UNIT

0

The click action, button down or up.

m_clickFlags

UNIT

0

Any combination of one or more of the following mouse click flag (virtual key state-masks) constants.


Constant Value Description


PEP_CF_NONE

0x0000

No button clicked.


PEP_CF_LBUTTON

0x0001

Left mouse button clicked.


PEP_CF_RBUTTON

0x0002

Right mouse button clicked.


PEP_CF_SHIFTKEY

0x0004

Shift key depressed.


PEP_CF_CONTROLKEY

0x0008

Control key depressed.


PEP_CF_MBUTTON

0x0010

Middle mouse button clicked.

Member Type Default Description

m_xOffset

int

0

The x-coordinate of the mouse click in pixels.

m_yOffset

int

0

The y-coordinate of the mouse click in pixels.

m_fieldValue

CRPEValueInfo

NULL

Specifies the CRPEValueInfo structure containing the value of the object at the click point. See Remarks below.

m_objectHandle

DWORD

0

Design view object handle.

m_sectionCode

short

0

The code for the section in which the click occurred.

Remarks

Member fieldValue represents a pointer to a CRPRValueInfo structure containing the value of the object at the click point if it is a field object (excluding MEMO and BLOB fields); otherwise valueType element = PEP_VI_NOVALUE.

Constructor CRPEMouseClickEventInfo::CRPEMouseClickEventInfo

This constructs a CRPEMouseClickEventInfo structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Constructor Syntax (Default)

CRPEMouseClickEventInfo ();

Constructor Syntax
CRPEMouseClickEventInfo (
        long windowHandle,
        UINT clickAction,
        UINT clickFlags,
        int xOffset,
        int yOffset,
        CRPEValueInfo *fieldValue,
        DWORD objectHandle,
        short sectionCode );


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com